Fix the last part of bug #10464 with mouse highlight at end of line.
authorEli Zaretskii <eliz@gnu.org>
Wed, 11 Jan 2012 19:45:42 +0000 (21:45 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 11 Jan 2012 19:45:42 +0000 (21:45 +0200)
commitde42450bf9f2557601088d433e5fa4e4a4523ad1
treea4825bf9b174f5db5c2b56a196f01be8fbcef5ef
parent44a3bfe06a95a75a40cab5138870ea57eb78170e
Fix the last part of bug #10464 with mouse highlight at end of line.

 src/xdisp.c (rows_from_pos_range): Handle the case where the
 highlight ends on a newline.
 (mouse_face_from_buffer_pos): Fix off-by-one error in calculating
 he end column for display of highlight that ends on a newline
 before a R2L line.
src/ChangeLog
src/xdisp.c